﻿namespace Softserve.Pottery.Warehouse.Contracts
{
    using System.ServiceModel;
    using Softserve.Pottery.Warehouse.Domains;

    /// <summary>
    /// TODO: add the necessary functionality
    /// </summary>
    
    [ServiceContract]
    public interface IWarehouseCatalogContract
    {
        #region    CRUD

        [OperationContract]
        void AddWarehouse(PotteryWarehouse item);

        [OperationContract]
        void RemoveWarehouse(PotteryWarehouse item);

        [OperationContract]
        void EditWarehouse(int productId, PotteryWarehouse item);

        #endregion
    }
}
